<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<script type="text/javascript">
	function fun() {
		var bjid = $("#bjid").val();
		var kcid = $("#kcid").val();
		$('#b1').load("student_cj?bjid="+bjid);
	}
</script>
<style type="text/css">
#BBB{
	margin-top: 1%
}
</style>
<div style="background:#FFFFFF;">
<div id="BBB">
<select onchange="fun()" id="bjid">
	<option>--请选择班级--</option>
	<c:forEach items="${bj}" var="x">
		<option value="${x.id}">${x.name}</option>
	</c:forEach>
</select>
&emsp;
<select onchange="fun()" id="kcid">
	<option>--请选择课程--</option>
	<c:forEach items="${kc}" var="a">
		<option value="${a.id}">${a.name}</option>
	</c:forEach>
</select>
</div>
<div id="b1"></div>
</div>